package flex.cc.uac.service;

import com.baomidou.mybatisplus.extension.service.IService;
import flex.cc.uac.entity.UacRoleMenuEntity;

import java.util.List;
import java.util.Set;


/**
 * 角色菜单中间表
 *
 * @author zhangzk
 * @email zhangzhikai@sinosoft.com.cn
 * @date 2020-07-12 00:00:12
 */
public interface UacRoleMenuService extends IService<UacRoleMenuEntity> {

    void deleteByRoleId(Long roleId);

    void deleteByRoleIdList(List<Long> roleIdList);

    List<UacRoleMenuEntity> listByRoleId(Long roleId);

    void insert(Long roleId, Set<Long> menuIdList);
}

